<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="/WEB-INF/tags/chart.tld" prefix="chart"%>
<%@page import="ase.assignment.sts.utils.STSConstants"%>
<%@page import="ase.assignment.sts.chart.ChartHelper"%>
<html>
<head>
<title>Summary Chart</title>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<link href="main.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="infodiv"><a href="#">Signin</a>&nbsp;|&nbsp;<a
	href="#">help</a>&nbsp;|&nbsp;<a href="#">My Account</a>&nbsp;|&nbsp;<a
	href="index.html">home</a></div>

<table id="mt" cellspacing="0" cellpadding="0" width="100%" border="0">
	<tr>
		<th class="inactiveth">
		<div class="activetab"><a onclick="cancelBubble=true;"
			href="portfolio.jsp">Portfolio Info</a></div>
		</th>
		<td>&nbsp;&nbsp;</td>

		<th class="inactiveth">
		<div class="inactivetab"><a onclick="cancelBubble=true;"
			href="stock.jsp">Stock Info</a></div>
		</th>
		<td>&nbsp;&nbsp;</td>


		<th class="inactiveth">
		<div class="inactivetab"><a onclick="cancelBubble=true;"
			href="account.jsp">Account</a></div>
		</th>
		<td>&nbsp;&nbsp;</td>

		<th class="activeth">
		<div class="inactivetab"><a onclick="cancelBubble=true;"
			href="portfolio_chart.jsp">Summary Chart</a></div>
		</th>
		<td>&nbsp;&nbsp;</td>

		<td width="100%">&nbsp;</td>
	</tr>
</table>
This is a summary Chart for user:
<%=session.getAttribute(STSConstants.SESSION_USER)%>
<chart:renderChart width="600" height="400" output="png"
	model="<%=session.getServletContext().getRealPath("chart/portfolio.chart")%>"
	data="<%=ChartHelper.getPortfolios((String)session.getAttribute(STSConstants.SESSION_USER)) %>">
</chart:renderChart>
Click to open the Summary chart of corresponding Portfolio,
<br>
Or Double click to open the Summary report of corresponding Portfolio.
</body>
</html>
